import { useState, useCallback } from 'react';
export default function userModel() {
  const [user, setUser] = useState([]);
  const getUserConfig = useCallback((value) => {
    setUser(value);
  }, []);
  return {
    user,
    getUserConfig,
  };
}
